package Day9Zuoye;

public class Shoping {
    private String discount ;
    private String factoryaddr;
    private int itemno;
    private String sname;
    private int price;
    private int stockcount;
    private String unit ;

    public Shoping() {
    }

    public Shoping(String discount, String factoryaddr, int itemno, String sname, int price, int stockcount, String unit) {
        this.discount = discount;
        this.factoryaddr = factoryaddr;
        this.itemno = itemno;
        this.sname = sname;
        this.price = price;
        this.stockcount = stockcount;
        this.unit = unit;
    }

    public String getDiscount() {
        return discount;
    }

    public void setDiscount(String discount) {
        this.discount = discount;
    }

    public String getFactoryaddr() {
        return factoryaddr;
    }

    public void setFactoryaddr(String factoryaddr) {
        this.factoryaddr = factoryaddr;
    }

    public int getItemno() {
        return itemno;
    }

    public void setItemno(int itemno) {
        this.itemno = itemno;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getStockcount() {
        return stockcount;
    }

    public void setStockcount(int stockcount) {
        this.stockcount = stockcount;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }
}
